package com.qinglei.recoup.hmp.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>description</p>
 *
 * @author shiyupeng
 * @date 2022/1/8
 */
@Data
@ApiModel(description = "小程序登录参数")
public class HmpLoginParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "wx.login返回的code", required = true)
    @NotNull(message = "{required}")
    private String code;

    @ApiModelProperty("昵称")
    private String nickname;

    @ApiModelProperty("头像图片Url")
    private String avatar;
}
